/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator 石立立
 */
public class Man {

    private String eyescolor;

    public String getEyescolor() {
        return eyescolor;
    }

    public void setEyescolor(String eyescolor) {
        this.eyescolor = eyescolor;
    }
      public String getColor(){
        return null;
}
}
class AsiaMan extends Man { 
    public static void main(String[] args) {
        EuroMan euro = new EuroMan();
        euro.setEyescolor("黑色的") ;
        System.out.println("亚洲人的眼睛颜色是" + euro.getEyescolor());

    }
}

class EuroMan extends Man {

    public static void main(String[] args) {
        EuroMan euro = new EuroMan();
        euro.setEyescolor("蓝色的") ;
        System.out.println("欧洲人的眼睛颜色是" + euro.getEyescolor());

    }
}
          
